﻿<!--List of all cargoes no matter what ship-->
@model List<CSharpDay12__Many_to_Many_.Models.IndexViewCargoe>
<br />
@foreach (var a in Model)
{
    <div class="well container">
        <div class="row">
            <div class="col-sm-4">

                <h2>Ships Cargo</h2>
                <h4><i>Commodity: </i>@a.Name </h4>
                <h4><i>Weight: </i>@a.Weight</h4>
                <h4><i>Is Perishable: </i>@a.IsPerishable</h4>
                <h4><i>Cargo Type: </i>@a.CargoeType</h4>
                @Html.ActionLink("Add Cargo to Ship's Manifest", "AddCargoeToShip", new { id = @a.Id }, new { @class = "btn btn-info" })
            </div>
        </div>
    </div>

}